# CMakeList.txt: CMWebScoket 的 CMake 项目，在此处包括源代码并定义
# 项目特定的逻辑。
#
cmake_minimum_required (VERSION 3.8)

set(VCPKG_ROOT "D:/usr/vcpkg/vcpkg")
SET(CMAKE_TOOLCHAIN_FILE "${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake")

project ("pfiles_home")

set(HOMEROOT "${PROJECT_SOURCE_DIR}")
message("${HOMEROOT}")
message("${VSENV}")
message("${CMAKE_BUILD_TYPE}")

if (NOT CMAKE_BUILD_TYPE)
   set (CMAKE_BUILD_TYPE "Debug")
   message (
      STATUS "No CMAKE_BUILD_TYPE selected, defaulting to ${CMAKE_BUILD_TYPE}"
   )
endif ()

if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
add_compile_options(/utf-8)
endif()

message("CMAKE_BUILD_TYPE=======================")
message("${CMAKE_BUILD_TYPE}")

add_subdirectory(./src/test)
add_subdirectory(./src/sqliteEF)